<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript">
        //包装类 ： Boolean Number String
        var a = new Number(1);
        console.log(typeof a);
        var b  =  1;
        console.log(typeof b);
        var c = "dddd";
        var d = new String("dddd");
        console.log(typeof c);
        console.log(typeof d);

        console.log(a === b); //比较对象
        console.log(a == b); //自动转换后比较值
        
    </script>
</head>
<body>
    
</body>
</html>